Setting Parameter Visibility
By default, all plug-in parameter users interface controls are enabled and visible. This behavior may be overridden using SetParameterVisibility() and EnableParameter(). Using GetCustomObjectInfo() or GetPluginInfo() with these procedures is relatively straightforward. First, use GetCustomObjectInfo() to obtain information about the object. Once this information has been retrieved, the plug-in parameter’s user interface attributes can be specified. In each case, the parameter argument is the universal name of the plug-in’s parameter. For example:
 
resultsStatus := GetCustomObjectInfo(objName,objHd,recHd,wallHD);
Like the plug-in object example above, plug-in menus and tools that use parameters can use SetParameterVisibility() and EnableParameter().
 

Using VectorScript Plug-ins : Plug-in Parameter Types : Setting Parameter Visibility

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050